import request from '@/utils/request'
export function list(params,type) {
    return request({
        url: '/app/alarmSet/list',
        method: 'get',
        params: params,
		type:type
    })
}
export function getWaitNum(params,type) {
    return request({
        url: '/app/alarm/getWaitNum',
        method: 'get',
        params: params,
		type:type
    })
}
export function alarmlist(params,type) {
    return request({
        url: '/app/alarm/list',
        method: 'get',
        params: params,
		type:type
    })
}
export function alarmChange(params) {
    return request({
        url: '/app/alarm/alarmChange',
        method:'put',
        params:params
    })
}


export function save(data) {
    return request({
        url: '/app/alarmSet/save',
        method: 'post',
        data: data
    })
}
export function del(params) {
    return request({
        url: '/app/alarmSet/delete',
        method: 'delete',
        params: params
    })
}

export function update(data){
    return request({
        url:'/app/alarmSet/update',
        method:'put',
        data:data
    })
}